//
//  DSHomeModel.h
//  广四生活圈
//
//  Created by Apple on 15/8/10.
//  Copyright (c) 2015年 itcast. All rights reserved.
//
#import "JSONModel.h"

@class FocusListModel;
@class GroupList;
@class GuessList;
@class FamousList;

@protocol FocusModel;

@interface ZFHomeModel : JSONModel

@property(nonatomic,strong)FamousList *famous;
@property(nonatomic,strong) FocusListModel *focus;

@property(nonatomic,strong) GroupList *group;

@property(nonatomic,strong) GuessList *guess;
@end

#pragma mark --Focus

@interface FocusListModel : JSONModel


@property(nonatomic,strong) NSArray<FocusModel> *list;


@end

@interface FocusModel : JSONModel

/**
 * 焦点图id
 */
@property(nonatomic,assign)int id;
/**
 *  焦点图标题
 */
@property(nonatomic,copy)NSString *title;
/**
 *  图片链接
 */
@property(nonatomic,copy)NSString *cover;
/**
 *  所要跳转的基础连接
 */
@property(nonatomic,copy)NSString *link;
/**
 *  跳转到指定的模块
 */
@property(nonatomic,copy)NSString *res_name;
/**
 *  指定模块下的详情ID
 */
@property(nonatomic,copy)NSString *res_id;

@end


#pragma mark --Group

@protocol GroupModel;


@interface GroupList : JSONModel

@property(nonatomic,strong) NSArray <GroupModel> *list;

@end

@interface GroupModel : JSONModel

/**
 * 焦点图id
 */
@property(nonatomic,assign)int id;
/**
 *  焦点图标题
 */
@property(nonatomic,copy)NSString *title;
/**
 *  图片链接
 */
@property(nonatomic,copy)NSString *cover;

@end

#pragma mark --Guess

@protocol GuessModel;


@interface GuessList : JSONModel

@property(nonatomic,strong) NSArray <GuessModel> *list;

@end

@interface GuessModel : JSONModel

/**
 * 焦点图id
 */
@property(nonatomic,assign)int id;
/**
 *  焦点图标题
 */
@property(nonatomic,copy)NSString *title;
/**
 *  图片链接
 */
@property(nonatomic,copy)NSString *cover;

/**
 *  价格
 */
@property(nonatomic,copy)NSString *price;
/**
*       简介
 */
@property(nonatomic,copy)NSString *intro;
@end

//

@protocol FamousModel;


@interface FamousList :JSONModel

@property(nonatomic,strong)NSArray<FamousModel> *list;

@end
@interface FamousModel : JSONModel

@property(nonatomic,assign)int id;

@property(nonatomic,copy)NSString *distance;
/**
 *  图片链接
 */
@property(nonatomic,copy)NSString *cover;

/**
 *  价格

 */

@property(nonatomic,copy)NSString *intro;


@property(nonatomic,copy)NSString *score;

@property(nonatomic,copy)NSString *name;
/**
 *       简介
 */

@end
//
////
//famous =     {
//    list =         (
//                    {
//                        cover = "http://www.qd-life.com/static/upload/2015/04/09/index_20150409153830000000_1_92289_57.jpg";
//                        distance = 654km;
//                        id = 3225;
//                        intro = "\U4e00\U5bb6\U7279\U8272\U70d8\U7119\U8fde\U9501\U4f01\U4e1a\Uff0c\U4e3b\U8425\U4e1a\U52a1...";
//                        name = "\U9ea6\U4e50\U6ecb\U86cb\U7cd5\U5e97";
//                        score = 0;
//                    },

